@import './_mixin.scss';

fieldset {
  padding: 0;
  margin: 0;
}
legend {
  width: 100%;
  padding-bottom: 10px;
  margin-bottom: 20px;
  font-size: 18px;
  color: #333;
  border-bottom: 1px solid #e5e5e5;
}
.form-group {
  position: relative;
  @include clearfix();
  margin-bottom: 25px;
}
input[type="radio"],
input[type="checkbox"] {
  margin-right: 3px;
  vertical-align: bottom;
}
.form-control, textarea {
  display: block;
  width: 100%;
  height: 38px;
  padding: 0 12px;
  font-size: 14px;
  line-height: 1.42857143;
  background-color: transparent;
  border: 1px solid #ccc;
}
.form-control:focus {
  border-color: $color-main;
}
textarea.form-control {
  padding: 10px 12px;
  height: 70px;
}
.control-label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  .must {
    color: $color-error;
    vertical-align: middle;
  }
}
.form-horizontal .control-label {
  line-height: 34px;
  text-align: right;
  .must {
    color: $color-error;
  }
}
.form-control[disabled],
fieldset[disabled] .form-control {
  cursor: not-allowed;
  background: $bg-disabled;
  color: $color-disabled;
}
.form-horizontal .form-group {
  margin-right: -15px;
  margin-left: -15px;
}